{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" method="post" action="{url(admin/Community/communityAdd)}">
            <input type="hidden" value="{$info.community_id}" name="community_id"/>
            <input type="hidden" value="{$info.id}" name="id"/>
            <div class="layui-form-item">
                  <label for="name" class="layui-form-label">
                      <span class="x-red">*</span>小区名称:
                  </label>
                  <div class="layui-input-inline">
                      <input type="text" id="name" name="community_name" required="" lay-verify="required"
                      autocomplete="off" class="layui-input" style="width:300px;" value="{$info.community_name}">
                  </div>
              </div>
              <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>所属物业:
                </label>
                <div class="layui-input-inline" style="width: 300px;">
                    <select name="property_id">
                        <option value=""><------选择物业------></option>
                        {foreach $propertylist as $pro}
                        <option value="{$pro.id}" {if $info.property_id == $pro.id} selected="selected" {/if}>{$pro.name}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_username" class="layui-form-label">
                    <span class="x-red">*</span>小区详细地址:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="L_username" name="community_address" required="" lay-verify="required"
                    autocomplete="off" class="layui-input" style="width:300px;" value="{$info.community_address}">
                </div>
            </div>
            <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>省份编码:
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="L_username" name="province_code" required="" lay-verify="required"
                  autocomplete="off" class="layui-input" style="width:300px;" value="{$info.province_code}">
              </div>
          </div>
          <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>地级市编码:
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="L_username" name="city_code" required="" lay-verify="required"
                  autocomplete="off" class="layui-input" style="width:300px;" value="{$info.city_code}">
              </div>
          </div>
          <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>区县编码:
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="L_username" name="district_code" required="" lay-verify="required"
                  autocomplete="off" class="layui-input" style="width:300px;" value="{$info.district_code}">
              </div>
          </div>
          <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>服务热线电话:
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="L_username" name="hotline" required="" lay-verify="required"
                  autocomplete="off" class="layui-input" style="width:300px;" value="{$info.hotline}">
              </div>
          </div>
          <div class="layui-form-item">
              <label for="L_username" class="layui-form-label">
                  <span class="x-red">*</span>经纬度:
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="L_username" name="community_locations" required="" lay-verify="required"
                  autocomplete="off" class="layui-input" style="width:300px;" value="{$info.community_locations}">
              </div>
          </div>
       
  
            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    保存
                </button>
            </div>
        </form>
    </div>
    <script>

  </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
  </body>

</html>